package com.mofang.ticketing.common.core.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel(description = "主键ID")
public class PrimaryIdDTO implements Serializable {
    private static final long serialVersionUID = -2121158380541779120L;

    @ApiModelProperty("主键ID")
    @NotNull(message = "主键ID缺失")
    private Long id;
}
